$(function () {
    
    window.sgworld = new SmartEarth2D.SGWorld('olContainer', {
        layers: [
            new ol.layer.Tile({
                className: '默认天地图影像',
                source: new ol.source.XYZ({
                    url: 'http://t3.tianditu.com/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=837264f46e683ec982d452e78d71052e'
                })
            })
        ]
    });
    window.map = sgworld.map;
    sgworld.View.setCenter(ol.proj.fromLonLat([117.57844128806192, 38.35974915512376]));
    sgworld.View.setZoom(13.5);
    $('.load-container', parent.document).hide();
})